#pragma once

#include <string>
#include "httplib.h"

using namespace std;

class ClientAPIBind
{
public:
    typedef enum ClientTypeEnum
    {
        Actor,
        Viewer
    } ClientType;

private:
    string uuid;
    string token;
    string* path;
    httplib::Client* client;
    string to_string(ClientType type);

public:
    bool Connect(string host, int port);
    bool Login(string token, ClientType type);
    bool Logout();
    ~ClientAPIBind();
};